Conversation
… colons - avoids potential yml clash
7ac7651 to
4bad473
Compare
|
@nf-core-bot fix linting |
|
This looks really good, but can we add a second test to validate JSON output? |
SPPearce
left a comment
There was a problem hiding this comment.
Just to check, was this previously producing a tsv output but calling it a .json file?
It'd be nice if you could swap to using a topic channel to capture the version too: https://nf-co.re/blog/2025/version_topics
|
Hi all, I am jumping in as I want to update this module in https://github.com/nf-core/pairgenomealign.
|
|
@charles-plessy - thanks for your contributions. I have cherry picked your commits and added them to this PR and added you to the authorship in the meta :) |
Done :) |
SPPearce
left a comment
There was a problem hiding this comment.
Do we just want to capture the output in one channel, rather than two separate ones? That would be within guidelines: https://nf-co.re/docs/guidelines/components/modules#one-output-channel-per-output-file-type
…ick issue from my end
|
@nf-core-bot fix linting Regarding the lint failures, I have not managed to get the tests pass with topic channels when the evaluated shell command has a |
@charles-plessy Thanks! Was playing around with that exact issue right now. Passes locally but the GitHub runner runs a dev version of nf-core tools. Will trim the regex to remove |
* rebase - git pull --rebase upstream master - merge conflicts * add missing test for main.nf.test * simplify string replacement for trinity version eval to remove use of colons - avoids potential yml clash * update meta.yml to capture new version topics change * update assemblyscan to v1.0.0, allowing json or tsv output * [automated] Fix linting with Prettier * update versions capturing to new approach and update snapshot * add charles-plessy to authors * combine outputs into single channel * update meta.yml for dynamic report output and versions topic channel * more fixes to meta.yml for versions topic * more fixes to meta.yml for versions topic * manually add json test from @charles-plessy - some prior git cherry pick issue from my end * lint module * remove unnecessary optional flag post output channel merge * final meta.yml changes 🙏 * [automated] Fix linting with Prettier --------- Co-authored-by: nf-core-bot <core@nf-co.re> Co-authored-by: Jim Downie <19718667+prototaxites@users.noreply.github.com> Co-authored-by: Charles Plessy <charles.plessy@oist.jp> Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
Description
This updates the assemblyscan module to v1.0.0 from v0.4.0, enabling tsv or json output.
PR checklist
versions.ymlfile.labelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile conda